import json

def return_json(code,msg):
    dict1={"code":code,"msg":msg}
    ret=json.dumps(dict1,ensure_ascii=False)
    return ret